<template>
  <div class="home">
    <!-- 导航 -->
    <div class="navBar">
      <navBar></navBar>
    </div>
    <!-- 主体 -->
    <div class="conten">
      <div class="tableWrap">
        <el-table :data="tableData" stripe style="width: 100%">
          <el-table-column prop="address" label="广告名称"> </el-table-column>
          <el-table-column prop="address" label="广告查看"> </el-table-column>
          <el-table-column prop="address" label="广告投放时间">
          </el-table-column>
          <el-table-column prop="address" label="投放单价"> </el-table-column>
          <el-table-column prop="address" label="投放人次"> </el-table-column>
          <el-table-column prop="address" label="浏览间隔时间">
          </el-table-column>
          <el-table-column prop="address" label="广告类型"> </el-table-column>
          <el-table-column prop="address" label="浏览次数"> </el-table-column>
        </el-table>
        <el-pagination background layout="prev, pager, next" :total="1000" class="pageBar">
        </el-pagination>
      </div>
    </div>
    <!-- 底部 -->
    <div class="footerBar">
      <footBar></footBar>
    </div>

    <!-- 右侧分享按钮 -->

    <foundCard></foundCard>
  </div>
</template>


<script>
// @ is an alias to /sr
import navBar from "../components/header";
import footBar from "../components/footer";
import foundCard from "../components/foundCard";
export default {
  name: "tabList",
  components: {
    navBar,
    footBar,
    foundCard,
  },
  data() {
    return {
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
    };
  },
  methods: {},
};
</script>

<style scoped lang="less">
body,
htm {
  background-color: #999;
}

.footerBar {
  position: fixed;
  bottom: 0px;
  width: 100%;
}
.conten {
  .tableWrap {
    width: 80%;
    margin: 40px auto;
  }
  .pageBar{
    margin: 15px 0px;
  }
}
</style>

<style lang="less">
body,
htm {
  background-color: #f5f5f5;
}
</style>